export enum ResultCodeEnum {
  SUCCESS = 0,
  SUCCESS200 = 200,
  ACCOUNT_PWD_ERR = 40006,
  SYSTEM_BUSY = -1,
  BASE_VALID_PARAM = -9,
  JWT_PASSWORD_INVALID = 40010,
  UNAUTHORIZED = 401,
  JWT_PARSER_TOKEN_FAIL = 40005,
  JWT_NOT_LOGIN = 40009,
  JWT_TOKEN_EXPIRED = 40001,
}

export enum HttpStatusEnum {
  SUCCESS = 200,
  UNAUTHORIZED = 401,
}

export enum RequestMethodEnum {
  GET = "GET",
  POST = "POST",
  PUT = "PUT",
  DELETE = "DELETE",
}

export enum ContentTypeEnum {
  // json
  JSON = "application/json;charset=UTF-8",
  // form-data qs
  FORM_URLENCODED = "application/x-www-form-urlencoded;charset=UTF-8",
  // form-data  upload
  FORM_DATA = "multipart/form-data;charset=UTF-8",
}
